package com.hongyan.dao;

import com.hongyan.bean.Document;
import com.hongyan.bean.Grades;
import com.hongyan.util.JDBCUtils;

import java.util.List;

public class GradesDao {
    public static List<Grades> getGradesList() {

        String sql = "select * from grades;";
        List<Grades> query = JDBCUtils.query(sql, Grades.class);

        return query;

    }
}
